<%= javascript_include_tag "mytable.js" %>
<%= stylesheet_link_tag 'mytable'%>
<h1>选择学生</h1>
<table cellpadding="5" cellspacing="0">
  <thead>
    <th>学生姓名</th>
    <th>类型</th>
    <th>学生意见</th>
    <th>导师意见</th>
  </thead>
  <tbody>
    <% for stu in @student_invites %>
      <tr>
        <td>
          <%=h(stu.sname) %>
        </td>
        <td>
          <%=h(stu.stype) %>
        </td>
        <td>
          <%=h(stu.stu_status) %>
        </td>
        <td>
          <%= link_to "录取", :action => "accept_student", :id => stu.id %>
          <%= link_to "拒绝", :action => "refuse_student"%>
        </td>
      </tr>
    <% end -%>
  </tbody>
</table>

